﻿using CinemaBookingWCF1.UserNamespace;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace CinemaBookingWCF1
{
    [ServiceContract]    
    public interface IUser
    {
        [OperationContract]
        User GetUserById(int UserId);

        [OperationContract]
        List<User> GetAllUsers();

        [OperationContract]
        void SaveUser(List<User> allUsers);     
    }
}
